package com.sky.test;

public class proxyTest {
    public static void main(String[] args) {
        //获取代理对象
        bigStar bigStar = new bigStar("鸡哥");
        Star createproxy = ProxyUtil.createproxy(bigStar);
        //调用唱歌的方法
        String result = createproxy.sing("只因你太美");
        System.out.println(result);
        createproxy.dance();
    }
}
